import type { RouteRecordRaw } from 'vue-router'

const shop: RouteRecordRaw = {
  name: 'shop',
  path: '/shop',
  meta: {
    title: '店铺运营',
    icon: 'icon-park-outline:jewelry',
   },
  redirect: '/shop/notice',
  children: [
    {
        name: 'shop:notice',
        path: '/shop/notice',
        meta: {
          title: '公告管理',
          icon: 'mingcute:dashboard-line',
        },
        component: () => import('~/base/views/shop/notice/index.vue'),
      },
      {
        name: 'shop:friendship',
        path: '/shop/friendship',
        meta: {
          title: '友情链接',
          icon: 'mingcute:dashboard-line',
        },
        component: () => import('~/base/views/shop/friendship/index.vue'),
      },
      {
        name: 'shop:advertisement',
        path: '/shop/advertisement',
        meta: {
          title: '广告管理',
          icon: 'mingcute:dashboard-line',
        },
        component: () => import('~/base/views/shop/advertisement/index.vue'),
      },
      {
        name: 'shop:textmessage',
        path: '/shop/textmessage',
        meta: {
          title: '站内短信',
          icon: 'mingcute:dashboard-line',
        },
        component: () => import('~/base/views/shop/textmessage/index.vue'),
      },
      {
        name: 'shop:system',
        path: '/shop/system',
        meta: {
          title: '系统日志',
          icon: 'mingcute:dashboard-line',
        },
        component: () => import('~/base/views/shop/system/index.vue'),
      },
      {
        name: 'shop:vocabulary',
        path: '/shop/vocabulary',
        meta: {
          title: '热搜词汇',
          icon: 'mingcute:dashboard-line',
        },
        component: () => import('~/base/views/shop/vocabulary/index.vue'),
      },
      {
        name: 'shop:states',
        path: '/shop/states',
        meta: {
          title: '在线状态',
          icon: 'mingcute:dashboard-line',
        },
        component: () => import('~/base/views/shop/states/index.vue'),
      },
      {
        name: 'shop:center',
        path: '/shop/center',
        meta: {
          title: '素材中心',
          icon: 'mingcute:dashboard-line',
        },
        component: () => import('~/base/views/shop/center/index.vue'),
      },
    
  ],
}

export default shop
